<?php
$action = $this->url('application', array('controller' => 'auth','action' => 'authenticate'));

?>
<div class="col-md-6 offset3">
	<form action="<?php echo $action;?>" name="form-login" id="form-login" method="post">
		<div class="checkRs">
			<div class="cb">
				<p>Username:</p>
				<input class="" type="text" placeholder="username" name="username" id="username" />
				
			</div>
			<div class="cb">
				<p>Nhập email của bạn:</p>
				<input class="" type="text" placeholder="password" name="password" id="password" />
			</div>
			<div class="cb">
				<p>Remember me?</p>
				<input class="" type="checkbox"name="remember" id="remember" />
			</div>
			
			<label>&nbsp;</label> 
			<span class="btnsubmit"><button type="submit" class="btnResreg">Đăng ký</button></span>
		</div>
	</form>
</div>
<?php
if ($this->messages) {
	echo '<ul>';
	foreach ($this->messages as $message) {
		echo '<li>' . $message . '</li>';
	}
	echo '</ul>';
}
?>